package com.ruikong.dazhi.model.input.warehouse;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruikong.dazhi.model.input.BasePageInput;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class WarehouseStockInput extends BasePageInput {
    private String warehouseSn;
    private String stockSn;
    private String stockName;
    private String stockNameEnglish;
    private String barCode;
    private Integer warning;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date timeInStart;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date timeInEnd;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date timeQualityStart;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date timeQualityEnd;

    public String getStockName() {
        return stockName;
    }

    public void setStockName(String stockName) {
        this.stockName = stockName;
    }

    public String getStockNameEnglish() {
        return stockNameEnglish;
    }

    public void setStockNameEnglish(String stockNameEnglish) {
        this.stockNameEnglish = stockNameEnglish;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public Integer getWarning() {
        return warning;
    }

    public void setWarning(Integer warning) {
        this.warning = warning;
    }

    public String getStockSn() {
        return stockSn;
    }

    public void setStockSn(String stockSn) {
        this.stockSn = stockSn;
    }

    public Date getTimeInStart() {
        return timeInStart;
    }

    public void setTimeInStart(Date timeInStart) {
        this.timeInStart = timeInStart;
    }

    public Date getTimeInEnd() {
        return timeInEnd;
    }

    public void setTimeInEnd(Date timeInEnd) {
        this.timeInEnd = timeInEnd;
    }

    public Date getTimeQualityStart() {
        return timeQualityStart;
    }

    public void setTimeQualityStart(Date timeQualityStart) {
        this.timeQualityStart = timeQualityStart;
    }

    public Date getTimeQualityEnd() {
        return timeQualityEnd;
    }

    public void setTimeQualityEnd(Date timeQualityEnd) {
        this.timeQualityEnd = timeQualityEnd;
    }

    public String getWarehouseSn() {
        return warehouseSn;
    }

    public void setWarehouseSn(String warehouseSn) {
        this.warehouseSn = warehouseSn;
    }
}
